package cn.kogee.mapper;

import cn.kogee.domian.Product;
import cn.kogee.domian.Store;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface ProductMapper {
    void save(Product product);

    Product loadById(Long id);

    Product loadByNameOrPrice(@Param("name") String name, @Param("price") BigDecimal price);
}
